package com.korustar.autumnal.codemodel;

import com.sun.codemodel.JBlock;

/**
 * Parameter object for building parameters 
 * 
 * @author amir
 *
 */
public class ParameterContext {
	private final CodeModelContainerModel model; 
	private final JBlock currentBlock;
	private final Class<? extends Object> expectedType; 
	private final String designatedType;
	
	public ParameterContext(CodeModelContainerModel model, JBlock currentBlock,
			Class<? extends Object> expectedType, String designatedType) {
		super();
		this.model = model;
		this.currentBlock = currentBlock;
		this.expectedType = expectedType;
		this.designatedType = designatedType;
	}
	public CodeModelContainerModel getModel() {
		return model;
	}
	public JBlock getCurrentBlock() {
		return currentBlock;
	}
	public Class<? extends Object> getExpectedType() {
		return expectedType;
	}
	public String getDesignatedType() {
		return designatedType;
	}
}
